/*
 * 文件名：EventCounter.java
 * 版权：亚信联创版权所有
 * 描述：TODO
 * 修改人：xuwei3
 * 修改时间：2015-5-19
 * 修改内容：TODO
 */
package com.ailk.bigdata.etl.realstream.server.monitor;

/**
 * @description TODO
 * @author [xuwei3]
 * @version [版本号,2015-5-19]
 * @see [相关类/方法]
 * @since [产品/模块版本]
 */
public interface EventCounter
{
	public long getEventReceivedCountByType(String interType);

	public long incrementEventReceivedByType(String interType);

	public long getEventSendedCountByType(String interType);

	public long incrementEventSendedByType(String interType);

	public long getEventReceivedCount();

	public long incrementEventReceivedCount();

	public long addToEventReceivedCount(long delta);

	public long getDatasAcceptedCount();

	public long incrementDatasAcceptedCount();

	public long addToDatasAcceptedCount(long delta);

	public long getEventSendedCount();

	public long incrementEventSendedCount();

	public long addToEventSendedCount(long delta);
	
	public void startSchedulerdMonitor();
	
	public long GetAndResetCount(String interType);

}
